package com.hangzhou.xyj.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 活动model类
 * <p/>
 * Created by Administrator on 2016/1/15.
 */
public class ActionModel {
    @SerializedName("commentNum")
    private int commentCount; //评论次数
    private String content;//具体内容H5
    @SerializedName("list_content")
    private String introduce;//介绍
    private int id;//唯一标识
    @SerializedName("imageList")
    private List<String> imgList;
    private String location;//地点
    private String url;//具体的明细url
    private String name;//标题名称
    @SerializedName("part_num")
    private int partNum;//参与人数
    @SerializedName("gmt_create")
    private String time;//时间
    @SerializedName("scope")
    private int scopeType;//范围类型，如：全国，同城，票友
    @SerializedName("transfer_url")
    private String shareUrl;//分享的url


    @Override
    public String toString() {
        return "ActionModel={commentCount=" + commentCount
                + ",id=" + id + ",imgList=" + imgList + ",location=" + location + ",url=" + url + ",name=" + name + "}";
    }

    /**
     * 发现->演出的构造方法
     *
     * @param name
     * @param content
     * @param seat
     * @param time
     * @param location
     * @param pic
     */
    public ActionModel(String name, String content, String seat, long time, String location, int pic) {
        this.content = content;
        this.location = location;
        this.name = name;
    }

    /**
     * @param type         需要展示哪一种样式
     * @param commentCount 评论的次数
     * @param content      活动内容
     * @param imageResId1  图片1
     * @param imageResId2  图片2
     * @param imageResId3  图片3
     * @param location     活动的地址
     * @param name         活动的名称
     * @param time         活动的时间
     */
    public ActionModel(int type, int commentCount, String content, int imageResId1,
                       int imageResId2, int imageResId3, String location, String name, long time) {
        this.commentCount = commentCount;
        this.content = content;
        this.location = location;
        this.name = name;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public int getScopeType() {
        return scopeType;
    }

    public void setScopeType(int scopeType) {
        this.scopeType = scopeType;
    }

    public int getPartNum() {
        return partNum;
    }

    public void setPartNum(int partNum) {
        this.partNum = partNum;
    }


    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<String> getImgList() {
        return imgList;
    }

    public void setImgList(List<String> imgList) {
        this.imgList = imgList;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
}
